/**
 * 
 */
package com.cuc.platform.core.domain.baseInfo;

import java.io.Serializable;

/**
 * @author peepul
 *
 * 系统公共属性实体
 * 
 * sa_attr
 */
public class Attr implements Serializable{
	private static final long serialVersionUID = 8245318401888816712L;
	
	private Long attrId;//pk
	
	private String value;
	private Integer sortNo;
	private Integer status;
	private String descn;
	
	private Long attrTypeId;
	private AttrType attrType;

	public Attr() {
		super();
	}

	public Attr(Long attrId, String value, Integer sortNo, Long attrTypeId) {
		super();
		this.attrId = attrId;
		this.value = value;
		this.sortNo = sortNo;
		this.attrTypeId = attrTypeId;
	}
	
	/**
	 * @return the attrId
	 */
	public Long getAttrId() {
		return attrId;
	}

	/**
	 * @param attrId the attrId to set
	 */
	public void setAttrId(Long attrId) {
		this.attrId = attrId;
	}

	/**
	 * @return the attrTypeId
	 */
	public Long getAttrTypeId() {
		return attrTypeId;
	}

	/**
	 * @param attrTypeId the attrTypeId to set
	 */
	public void setAttrTypeId(Long attrTypeId) {
		this.attrTypeId = attrTypeId;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the sortNo
	 */
	public Integer getSortNo() {
		return sortNo;
	}

	/**
	 * @param sortNo the sortNo to set
	 */
	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the descn
	 */
	public String getDescn() {
		return descn;
	}

	/**
	 * @param descn the descn to set
	 */
	public void setDescn(String descn) {
		this.descn = descn;
	}

	/**
	 * @return the attrType
	 */
	public AttrType getAttrType() {
		return attrType;
	}

	/**
	 * @param attrType the attrType to set
	 */
	public void setAttrType(AttrType attrType) {
		this.attrType = attrType;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}
